package com.sunshine.lnuplus.viewModel

import android.app.Application
import com.sunshine.lnuplus.base.BaseViewModel
import com.sunshine.lnuplus.model.room.CountDown
import com.sunshine.lnuplus.model.room.TimetableRepository

/**
 * Created by sunshine on 2020/3/16
 */

class CalenderViewModel(application: Application) : BaseViewModel(application){
    val repository = TimetableRepository(application)

    fun getAllCountDown() : List<CountDown> {
        return repository.getCountDown()
    }
}